package org.linlinjava.litemall.db.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

@ApiModel("订单列表信息")
@Data
public class OrderVo {

    @ApiModelProperty("订单id")
    private Integer id;

    @ApiModelProperty("订单编号")
    private String orderSn;

    @ApiModelProperty("订单状态")
    private Integer orderStatus;

    @ApiModelProperty("实付费用")
    private BigDecimal actualPrice;

    @ApiModelProperty("订单费用")
    private BigDecimal orderPrice;

    @ApiModelProperty("订单创建时间")
    private LocalDateTime addTime;

    @ApiModelProperty("用户id")
    private Integer userId;

    @ApiModelProperty("用户名称")
    private String userName;

    @ApiModelProperty("收货人名称")
    private String consignee;

    @ApiModelProperty("地址")
    private String address;

    @ApiModelProperty("收货人电话")
    private String mobile;

    @ApiModelProperty("快递公司")
    private String shipChannel;

    @ApiModelProperty("发货方式 0:快递 1:本地发货")
    private String shipType;

    @ApiModelProperty("快递编号")
    private String shipSn;

    @ApiModelProperty("订单留言")
    private String message;

    @ApiModelProperty("付款时间")
    private LocalDateTime payTime;

    @ApiModelProperty("订单商品信息")
    private List<OrderGoodsVo> goodsVoList;

}
